package com.itheima.tanhua.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.tanhua.domain.BlackList;
import com.itheima.tanhua.domain.Settings;
import com.itheima.tanhua.domain.UserInfo;

public interface BlackListApi {


    /**
     * 移除指定用户的黑名单里的记录
     * @param uid
     * @param blackUserId
     */
    void removeBlack(Long uid, Long blackUserId);

    /**
     * 分页查询黑名单列表
     * @param id
     * @param page
     * @param pageSize
     * @return
     */
    IPage<UserInfo> findByUserIdToPage(Long id, Integer page, Integer pageSize);
}